﻿<UserControl x:Class="Gamey.UI.N64Control"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:e="http://schemas.codeplex.com/elysium"
             xmlns:t="http://schemas.xceed.com/wpf/xaml/toolkit"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

    <DockPanel>

        <Border DockPanel.Dock="Top" BorderBrush="DeepSkyBlue" BorderThickness="1">
            <t:WatermarkTextBox Name="searchTextBox" Watermark="Search for a game" FontSize="16" Foreground="WhiteSmoke" Padding="5" TextChanged="searchTextBox_TextChanged"/>
        </Border>

        <StatusBar DockPanel.Dock="Bottom" Name="statusBar" Background="Transparent">
            <StatusBarItem>
                <Label Name="statusLabel" FontSize="12" Foreground="WhiteSmoke">Ready</Label>
            </StatusBarItem>
            <StatusBarItem Name="progressBarItem">
                <e:ProgressRing Name="progressBar" State="Indeterminate" Height="20" Width="20"/>
            </StatusBarItem>
        </StatusBar>

        <DataGrid Name="dataGrid" Margin="0 5" Background="Transparent" AutoGenerateColumns="False" IsReadOnly="True" GridLinesVisibility="None" RowHeight="32" RowHeaderWidth="0" ColumnHeaderStyle="{StaticResource DataGridColumnHeaderStyle}" RowStyle="{StaticResource DataGridRowStyle}" CellStyle="{StaticResource DataGridCellStyle}" MouseDoubleClick="dataGrid_MouseDoubleClick">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=Name}" Header="Name" Width="*"/>
                <DataGridTextColumn Binding="{Binding Path=File}" Header="File"  Width="*"/>
            </DataGrid.Columns>
        </DataGrid>

    </DockPanel>

</UserControl>
